package com.ldp.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.client.RestTemplate;

/**
 * @author 北巷_东坡
 * @date 2022/10/13 8:51
 * @computer 10741
 */
@Service
public class RibbonService {
    @Autowired
    RestTemplate template;
    public String hi_ldp(){
        return template.getForObject("http://SpringBootEurekaClientLDP/port",String.class);
    }
}
